<h1>Stripe Subscription</h1>

<pre><code><%= @subscription.pretty_inspect %></code></pre>

<h6>Actions</h6>
<%= button_to "Resume", resume_stripe_subscription_path(@subscription), method: :patch, class: "d-block" if @subscription.on_grace_period?%>
<%= button_to "Cancel at period end", cancel_stripe_subscription_path(@subscription), method: :patch, class: "d-block" %>
<%= button_to "Cancel immediately", stripe_subscription_path(@subscription), method: :delete, class: "d-block" %>
